package com.rong.ORM;

/**
 * ZynUserRight entity. @author MyEclipse Persistence Tools
 */

public class ZynUserRight implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer userId;
	private Integer menuId;
	private String saveOp;
	private String delOp;
	private String updateOp;
	private String queryOp;
	private String fuHeOp;
	private String cancelFuHeOp;
	private String heXiaoOp;
	private String cancelHeXiaoOp;
	private String heXiaoAbnorOp;
	private String qianPiOp;
	private String cancelQianPiOp;
	private String extattr1;
	private String extattr2;
	private String extattr3;
	private String extattr4;
	private String extattr5;
	
	private ZynMenu menu;

	// Constructors

	/** default constructor */
	public ZynUserRight() {
	}

	/** full constructor */
	public ZynUserRight(Integer userId, Integer menuId, String saveOp,
			String delOp, String updateOp, String queryOp, String fuHeOp,
			String cancelFuHeOp, String heXiaoOp, String cancelHeXiaoOp,
			String heXiaoAbnorOp, String qianPiOp, String cancelQianPiOp,
			String extattr1, String extattr2, String extattr3, String extattr4,
			String extattr5,ZynMenu menu) {
		this.userId = userId;
		this.menuId = menuId;
		this.saveOp = saveOp;
		this.delOp = delOp;
		this.updateOp = updateOp;
		this.queryOp = queryOp;
		this.fuHeOp = fuHeOp;
		this.cancelFuHeOp = cancelFuHeOp;
		this.heXiaoOp = heXiaoOp;
		this.cancelHeXiaoOp = cancelHeXiaoOp;
		this.heXiaoAbnorOp = heXiaoAbnorOp;
		this.qianPiOp = qianPiOp;
		this.cancelQianPiOp = cancelQianPiOp;
		this.extattr1 = extattr1;
		this.extattr2 = extattr2;
		this.extattr3 = extattr3;
		this.extattr4 = extattr4;
		this.extattr5 = extattr5;
		this.menu = menu;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getMenuId() {
		return this.menuId;
	}

	public void setMenuId(Integer menuId) {
		this.menuId = menuId;
	}

	public String getSaveOp() {
		return this.saveOp;
	}

	public void setSaveOp(String saveOp) {
		this.saveOp = saveOp;
	}

	public String getDelOp() {
		return this.delOp;
	}

	public void setDelOp(String delOp) {
		this.delOp = delOp;
	}

	public String getUpdateOp() {
		return this.updateOp;
	}

	public void setUpdateOp(String updateOp) {
		this.updateOp = updateOp;
	}

	public String getQueryOp() {
		return this.queryOp;
	}

	public void setQueryOp(String queryOp) {
		this.queryOp = queryOp;
	}

	public String getFuHeOp() {
		return this.fuHeOp;
	}

	public void setFuHeOp(String fuHeOp) {
		this.fuHeOp = fuHeOp;
	}

	public String getCancelFuHeOp() {
		return this.cancelFuHeOp;
	}

	public void setCancelFuHeOp(String cancelFuHeOp) {
		this.cancelFuHeOp = cancelFuHeOp;
	}

	public String getHeXiaoOp() {
		return this.heXiaoOp;
	}

	public void setHeXiaoOp(String heXiaoOp) {
		this.heXiaoOp = heXiaoOp;
	}

	public String getCancelHeXiaoOp() {
		return this.cancelHeXiaoOp;
	}

	public void setCancelHeXiaoOp(String cancelHeXiaoOp) {
		this.cancelHeXiaoOp = cancelHeXiaoOp;
	}

	public String getHeXiaoAbnorOp() {
		return this.heXiaoAbnorOp;
	}

	public void setHeXiaoAbnorOp(String heXiaoAbnorOp) {
		this.heXiaoAbnorOp = heXiaoAbnorOp;
	}

	public String getQianPiOp() {
		return this.qianPiOp;
	}

	public void setQianPiOp(String qianPiOp) {
		this.qianPiOp = qianPiOp;
	}

	public String getCancelQianPiOp() {
		return this.cancelQianPiOp;
	}

	public void setCancelQianPiOp(String cancelQianPiOp) {
		this.cancelQianPiOp = cancelQianPiOp;
	}

	public String getExtattr1() {
		return this.extattr1;
	}

	public void setExtattr1(String extattr1) {
		this.extattr1 = extattr1;
	}

	public String getExtattr2() {
		return this.extattr2;
	}

	public void setExtattr2(String extattr2) {
		this.extattr2 = extattr2;
	}

	public String getExtattr3() {
		return this.extattr3;
	}

	public void setExtattr3(String extattr3) {
		this.extattr3 = extattr3;
	}

	public String getExtattr4() {
		return this.extattr4;
	}

	public void setExtattr4(String extattr4) {
		this.extattr4 = extattr4;
	}

	public String getExtattr5() {
		return this.extattr5;
	}

	public void setExtattr5(String extattr5) {
		this.extattr5 = extattr5;
	}

	/**
	 * @return the menu
	 */
	public ZynMenu getMenu() {
		return menu;
	}

	/**
	 * @param menu the menu to set
	 */
	public void setMenu(ZynMenu menu) {
		this.menu = menu;
	}

}